//建立java对象和数据库一一对应
package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("objclassify")//和数据库表进行对应
@Data
public class ObjClassify {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String classname;
    private String remark;

}
